<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 97 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts97p0{position:absolute;left:106px;top:97px;}
 .ts97p1{position:absolute;left:352px;top:97px;}
 .ts97p3{position:absolute;left:672px;top:97px;}
 .ts97p7{position:absolute;left:106px;top:113px;}
 .ts97p8{position:absolute;left:706px;top:1026px;}
 .ts97p9{position:absolute;left:331px;top:1044px;}
 .ts97p13{position:absolute;left:106px;top:146px;}
 .ts97p15{position:absolute;left:106px;top:164px;}
 .ts97p17{position:absolute;left:106px;top:183px;}
 .ts97p18{position:absolute;left:106px;top:201px;}
 .ts97p19{position:absolute;left:106px;top:220px;}
 .ts97p21{position:absolute;left:106px;top:238px;}
 .ts97p22{position:absolute;left:106px;top:256px;}
 .ts97p24{position:absolute;left:106px;top:275px;}
 .ts97p25{position:absolute;left:106px;top:293px;}
 .ts97p26{position:absolute;left:106px;top:312px;}
 .ts97p28{position:absolute;left:106px;top:330px;}
 .ts97p29{position:absolute;left:106px;top:348px;}
 .ts97p30{position:absolute;left:106px;top:367px;}
 .ts97p33{position:absolute;left:106px;top:385px;}
 .ts97p34{position:absolute;left:106px;top:404px;}
 .ts97p35{position:absolute;left:106px;top:422px;}
 .ts97p36{position:absolute;left:106px;top:440px;}
 .ts97p38{position:absolute;left:106px;top:459px;}
 .ts97p39{position:absolute;left:106px;top:477px;}
 .ts97p41{position:absolute;left:106px;top:496px;}
 .ts97p42{position:absolute;left:384px;top:513px;}
 .ts97p44{position:absolute;left:371px;top:531px;}
 .ts97p46{position:absolute;left:167px;top:551px;}
 .ts97p48{position:absolute;left:299px;top:551px;}
 .ts97p51{position:absolute;left:167px;top:572px;}
 .ts97p53{position:absolute;left:299px;top:572px;}
 .ts97p55{position:absolute;left:167px;top:594px;}
 .ts97p57{position:absolute;left:299px;top:594px;}
 .ts97p58{position:absolute;left:299px;top:612px;}
 .ts97p60{position:absolute;left:167px;top:633px;}
 .ts97p62{position:absolute;left:299px;top:633px;}
 .ts97p64{position:absolute;left:299px;top:652px;}
 .ts97p66{position:absolute;left:167px;top:673px;}
 .ts97p68{position:absolute;left:299px;top:673px;}
 .ts97p70{position:absolute;left:106px;top:692px;}
 .ts97p71{position:absolute;left:106px;top:710px;}
 .ts97p72{position:absolute;left:106px;top:728px;}
 .ts97p74{position:absolute;left:106px;top:747px;}
 .ts97p77{position:absolute;left:106px;top:765px;}
 .ts97p78{position:absolute;left:106px;top:784px;}
 .ts97p80{position:absolute;left:106px;top:802px;}
 .ts97p81{position:absolute;left:106px;top:820px;}
 .ts97p83{position:absolute;left:106px;top:839px;}
 .ts97p84{position:absolute;left:106px;top:857px;}
 .ts97p85{position:absolute;left:106px;top:876px;}
 .ts97p87{position:absolute;left:106px;top:894px;}
 .ts97p89{position:absolute;left:106px;top:912px;}
 .ts97p90{position:absolute;left:384px;top:930px;}
 .ts97p92{position:absolute;left:272px;top:948px;}
 .ts97p94{position:absolute;left:161px;top:968px;}
 .ts97p96{position:absolute;left:227px;top:968px;}
 .ts97p97{position:absolute;left:227px;top:986px;}
 .ts97p100{position:absolute;left:552px;top:403px;}
 .ts97p102{position:absolute;left:552px;top:415px;}
 .ts97p103{position:absolute;left:552px;top:427px;}
 .ts97p104{position:absolute;left:552px;top:439px;}

 /* Font Styles */
 .ft0p97{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p97{font-weight:normal;}
 .ft2p97{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p97{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p97{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p97{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p97{font-style:normal;font-weight:bold;font-size:16px;font-family:helvetica,arial,sans-serif;color:#000000;}
 .ft7p97{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#FFFFFF;}
 .ft8p97{font-style:normal;font-weight:normal;font-size:11px;font-family:arial,sans-serif;color:#000000;}

 /* Background Style */
 .styleBackground97{position:absolute;left:105px;top:403px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index96.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;97 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index98.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground97><img src="./background97.png" width="633" height="652" border="0" alt=""></div>
<div class=ts97p0><span class="ft0p97"> </span></div>
<div class=ts97p1><span class="ft0p97">Gravitybox Schedule Primer<span class="ft1p97"> </span></span></div>
<div class=ts97p3><span class="ft0p97">Page 95&nbsp; </span></div>
<div class=ts97p7><span class="ft2p97"> </span></div>
<div class=ts97p8><span class="ft3p97"> </span></div>
<div class=ts97p9><span class="ft4p97">1998&#45;2004 Gravitybox Software LLC<span class="ft3p97"> </span></span></div>
<div class=ts97p13><span class="ft5p97">canceled. This event is the place to remove any progress screen that may have been </span></div>
<div class=ts97p15><span class="ft5p97">displayed. If the PrintDone event is raised, the PrintCancel is not raised. </span></div>
<div class=ts97p17><span class="ft5p97"> </span></div>
<div class=ts97p18><span class="ft5p97">The PrintCancel event is raised when the print is canceled. All printing ceases and no </span></div>
<div class=ts97p19><span class="ft5p97">more pages are sent to the printer. A print may be canceled from the PrintProgress or </span></div>
<div class=ts97p21><span class="ft5p97">the PrintPageDone events. If canceled, the PrintDone event is not raised. These two </span></div>
<div class=ts97p22><span class="ft5p97">events are mutually exclusive. </span></div>
<div class=ts97p24><span class="ft5p97"> </span></div>
<div class=ts97p25><span class="ft5p97">The progress of completed pages maybe monitored, with the PrintPageDone event. </span></div>
<div class=ts97p26><span class="ft5p97">This event has several parameters. The Page parameter represents the absolute page </span></div>
<div class=ts97p28><span class="ft5p97">that was last printed. The PageX and PageY parameters represent the page in </span></div>
<div class=ts97p29><span class="ft5p97">horizontal and vertical coordinates. Finally the Cancel parameter allows for the </span></div>
<div class=ts97p30><span class="ft5p97">cancellation of printing, so no more pages are sent to the printer. </span></div>
<div class=ts97p33><span class="ft5p97"> </span></div>
<div class=ts97p34><span class="ft5p97">The event that is used to inform the user of the percent </span></div>
<div class=ts97p35><span class="ft5p97">complete is the PrintProgress event. This event returns a </span></div>
<div class=ts97p36><span class="ft5p97">Percent parameter that is the a value [0..100] of the percent </span></div>
<div class=ts97p38><span class="ft5p97">complete. The Cancel parameter allows for the cancellation of printing. If set to true, the </span></div>
<div class=ts97p39><span class="ft5p97">PrintCancel event is raised and the printing will not continue. </span></div>
<div class=ts97p41><span class="ft5p97"> </span></div>
<div class=ts97p42><span class="ft6p97">Table 9.2 </span></div>
<div class=ts97p44><span class="ft6p97">Print Events </span></div>
<div class=ts97p46><span class="ft5p97">PrintCancel </span></div>
<div class=ts97p48><span class="ft5p97">This event is raised if the printing was canceled. </span></div>
<div class=ts97p51><span class="ft5p97">PrintDone </span></div>
<div class=ts97p53><span class="ft5p97">This event is raised when the printing completes normally. </span></div>
<div class=ts97p55><span class="ft5p97">PrintPageDone </span></div>
<div class=ts97p57><span class="ft5p97">This event is raised for every page that was sent to the </span></div>
<div class=ts97p58><span class="ft5p97">printer. </span></div>
<div class=ts97p60><span class="ft5p97">PrintProgress </span></div>
<div class=ts97p62><span class="ft5p97">This event is raised when at intervals to give feedback on </span></div>
<div class=ts97p64><span class="ft5p97">the progress of printing. </span></div>
<div class=ts97p66><span class="ft5p97">PrintStart </span></div>
<div class=ts97p68><span class="ft5p97">This event is raised when the printing begins. </span></div>
<div class=ts97p70><span class="ft5p97"> </span></div>
<div class=ts97p71><span class="ft5p97">The printing creates temp files, in the window&#146;s temp directory. Needed are several </span></div>
<div class=ts97p72><span class="ft5p97">hundred kilobytes per page. The amount varies but it is probably a good idea to have </span></div>
<div class=ts97p74><span class="ft5p97">one&#45;half megabyte per page free on the hard disk. Computers running low on disk </span></div>
<div class=ts97p77><span class="ft5p97">space should not use the printing functionality. This is not a problem in most cases. </span></div>
<div class=ts97p78><span class="ft5p97">However, printing a schedule with a small value for ScheduleIncrement and a very large </span></div>
<div class=ts97p80><span class="ft5p97">range of days (i.e. a year) could use quite a bit of temp space. All the temp space is </span></div>
<div class=ts97p81><span class="ft5p97">released upon the printing completing or being canceled. </span></div>
<div class=ts97p83><span class="ft5p97"> </span></div>
<div class=ts97p84><span class="ft5p97">To aid in printer selection, there is a provided collection of printers. This collection is </span></div>
<div class=ts97p85><span class="ft5p97">named SchedulePrinters. It is a list of all valid printer names that can be used with the </span></div>
<div class=ts97p87><span class="ft5p97">DeviceName parameter of the GoPrint method. </span></div>
<div class=ts97p89><span class="ft5p97"> </span></div>
<div class=ts97p90><span class="ft6p97">Table 9.3 </span></div>
<div class=ts97p92><span class="ft6p97">SchedulePrinters Collection Definition </span></div>
<div class=ts97p94><span class="ft5p97">Count </span></div>
<div class=ts97p96><span class="ft5p97">This method returns the total number of printer in the collection. This is </span></div>
<div class=ts97p97><span class="ft5p97">the number of printers installed on the current system. </span></div>
<div class=ts97p100><span class="ft7p97">Quick Tip </span></div>
<div class=ts97p102><span class="ft8p97">There are several &#147;Print&#133;&#148; events </span></div>
<div class=ts97p103><span class="ft8p97">that inform you know of the printing </span></div>
<div class=ts97p104><span class="ft8p97">progress. </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
